<!-- 统计设置- 主界面 -->
<template>
  <div id="box">
    <el-tabs v-model="pageCheck" :stretch="true" class="mg-10">
      <el-tab-pane label="胸痛" name="chestPain">
        <chestPainStatisticalSet v-if="pageCheck == 'chestPain'" />
      </el-tab-pane>
      <el-tab-pane label="卒中" name="stroke">
        <strokeStatisticalSet v-if="pageCheck == 'stroke'" />
      </el-tab-pane>
      <el-tab-pane label="随访" name="followUp">
        <followUpStatisticalSet v-if="pageCheck == 'followUp'" />
      </el-tab-pane>
    </el-tabs>
    <!-- 这里使用v-if 每次重新加载页面, 保证传值无缓存 -->
  </div>
</template>
<script>
import chestPainStatisticalSet from '@/views/back-management/statistical-set/chestPainStatisticalSet.vue'
import strokeStatisticalSet from '@/views/back-management/statistical-set/strokeStatisticalSet.vue'
import followUpStatisticalSet from '@/views/back-management/statistical-set/followUpStatisticalSet.vue'

export default {
  name: 'StatisticalAnalysis',
  components: { chestPainStatisticalSet, strokeStatisticalSet, followUpStatisticalSet },
  data() {
    return {
      pageCheck: 'chestPain' // 默认胸痛页面
    }
  },
  computed: {},
  created() {},
  mounted() {},
  methods: {}
}
</script>

<style />
